#test.py
import random
from gen import test_data
from alg import numTrees

# 执行测试
results = []
for n in test_data:
    results.append(numTrees(n))
results


